package com.framework.workflow.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.framework.common.model.BaseModelMybatisWithId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WfProcessInstance extends BaseModelMybatisWithId {
    /**
     * 状态
     */
    private String status;

    /**
     * 业务ID
     */
    private String businessId;

    /**
     * 流程实例ID
     */
    private String procInstId;

    /**
     * 流程定义ID
     */
    private String procDefId;

    /**
     * 发起者
     */
    private String startUserId;

    /**
     * 发起部门
     */
    private String startDeptId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
